package com.szh.mysobproject.http.request.api

import com.szh.mysobproject.model.ApiResponse
import com.szh.mysobproject.model.AppUpdateInfo
import com.szh.mysobproject.model.MourningCalendar
import retrofit2.http.GET
import retrofit2.http.Url

interface AppApi {

    /**
     * 检查app更新
     */
    @GET
    suspend fun checkAppUpData(@Url url: String) :ApiResponse<AppUpdateInfo>

    /**
     * 获取哀悼日历
     */
    @GET
    suspend fun getMourningCalendar(@Url url: String): ApiResponse<List<MourningCalendar>>
}